package com.frame.pageform.job;

public class ThreadPoolFactory {

	public static Pool createThreadPool(){
		ThreadPool pool=new ThreadPool();
		return pool;
	}
	public static Pool createThreadPool(int poolNum){
		if(poolNum==0)poolNum=1;
		ThreadPool pool=new ThreadPool(poolNum);
		return pool;
	}
}
